Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/capslock: allow analysis of non-dependencies #213

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcd2
Copy link
Collaborator

@jcd2 jcd2 commented Jan 10, 2025

If the packages the user requested are not dependencies of the current workspace, then loading of those packages will fail. In those cases, this change makes capslock switch to a temporary module, use go get to add the requested packages as dependencies, and try the analysis again.

Fixes #200

If the packages the user requested are not dependencies of the current
workspace, then loading of those packages will fail.  In those cases,
this change makes capslock switch to a temporary module, use `go get` to
add the requested packages as dependencies, and try the analysis again.
@jcd2 jcd2 requested a review from jessmcclintock January 10, 2025 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

run capslock against a module's url
1 participant